var android = {
  start: (vmess) => {
    return window.VPNService.startVPNService(vmess);
},

 stop: () => {
   return window.VPNService.stopVPNService();
 },

  charge: (chargeUrl) => {
    window.VPNService.chargeByMobile(chargeUrl);
  },
  getAppProxyStatus: () => {
    return window.VPNService.getAppProxySetting();
  },
  getApps: () => {
    return window.VPNService.getAppInfo();
  },
  setAppProxyStatus: (isStart) => {
    window.VPNService.appProxySetting(isStart);
  },
  setAppProxyPackages: (packages) => {
    window.VPNService.setAppProxy(packages);
  },
  getRouterModelInfo: () => {
    return window.VPNService.getRouterModel();
  },
  setRouterModelInfo: (model) => {
    return window.VPNService.setRouterModel(model);
  },
  ping: (vmess) => {
    return window.VPNService.tcpVmess(vmess);
  }
};

